import matplotlib.pyplot as plt
import numpy as np

x = np.linspace(10,100,10)
y1 = 2*x + 1
y2 = x**2


plt.figure(num="直线图",facecolor='grey',edgecolor='k')
plt.plot(x,y2,linewidth='2',label = 'orange',color = 'orange',linestyle='--',marker="8")

# 所有参数示例
# plt.plot(x,y2,linewidth='1',label = 'orange',color = 'orange',linestyle='--',marker="o")

# plt.figure(num="抛物线")
# plt.plot(x,y2)
# plt.plot(x,y1,color="red",linewidth=1.0,linestyle='--')



plt.show()